package com.sxf.webservice;

import java.util.List;

import javax.annotation.Resource;
import javax.jws.WebMethod;
import javax.jws.WebService;

import org.springframework.stereotype.Service;

import com.sxf.domain.viewbean.PostVO;
import com.sxf.querybean.PostQuery;
import com.sxf.service.PostService;

/**访问地址:http://127.0.0.1:9999/postService?wsdl
 * @author shixiafeng
 *
 */
@Service
@WebService(serviceName = "postService")
public class PostServiceEndPoint {
	@Resource
	private PostService ps;

	@WebMethod
	public List<PostVO> queryOne(PostQuery u) {
		return ps.queryList(u);
	}
}
